﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-8-12
Description:UserList三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class UserListManager
	{
		public static int AddUserList(UserList userList)
		{
			return UserListService.AddUserList(userList);
		}
		public static int DeleteUserListByid(int id)
		{
			return UserListService.DeleteUserListById(id);
		}
		
		public static int ModifyUserListByid(UserList userList)
		{
			return UserListService.ModifyUserListByid(userList);
		}
		
		
		public static IList<UserList> GetAllUserLists()
		{
			return UserListService.GetAllUserLists();
		}
		public static UserList GetUserListByid(int id)
		{
			return UserListService.GetUserListByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<UserList> ShowUserListForPage(int curragePage,int NUMCount)
		{
			return 	UserListService.ShowUserListForPage(curragePage,NUMCount);
		}
	}
}
